Skip to content

Fix history view for soroban on first render#880

Open
leofelix077 wants to merge 1 commit into
mainfrom
lf-fix-soroban-detail-loading
Open

Fix history view for soroban on first render#880
leofelix077 wants to merge 1 commit into
mainfrom
lf-fix-soroban-detail-loading

Conversation

@leofelix077
Copy link
Copy Markdown
Collaborator

@leofelix077 leofelix077 commented May 29, 2026

Closes #849

Small fix to remove flex and justify, so content doesnt get squished on first load until layouting runs

Before

Screen.Recording.2026-05-29.at.09.21.33.mov

After

Screen.Recording.2026-05-29.at.09.20.55.mov

On device

ScreenRecording_05-29-2026.10-33-46_1.MP4

Android emulator

Screen.Recording.2026-05-29.at.10.37.41.mov

Checklist

PR structure

  • This PR does not mix refactoring changes with feature changes (break it down into smaller PRs if not).
  • This PR has reasonably narrow scope (break it down into smaller PRs if not).
  • This PR includes relevant before and after screenshots/videos highlighting these changes.
  • I took the time to review my own PR.

Testing

  • These changes have been tested and confirmed to work as intended on Android.
  • These changes have been tested and confirmed to work as intended on iOS.
  • I have tried to break these changes while extensively testing them.
  • This PR adds tests for the new functionality or fixes.

Release

  • This is not a breaking change.
  • This PR updates existing JSDocs when applicable.
  • This PR adds JSDocs to new functionalities.
  • I've checked with the product team if we should add metrics to these changes.
  • I've shared relevant before and after screenshots/videos highlighting these changes with the design team and they've approved the changes.

@leofelix077 leofelix077 self-assigned this May 29, 2026
Copilot AI review requested due to automatic review settings May 29, 2026 12:39
@leofelix077 leofelix077 added bug Something isn't working don't review yet Work in Progress / Draft PR / Code Review adjustments being worked on labels May 29, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Removes flex-1 justify-center from the shared TransactionDetailsContent card so Soroban transaction detail content renders at its intrinsic size on first paint, avoiding being squished while the bottom sheet's layout-dependent second render settles. CreateAccountTransactionDetailsContent preserves the previous behavior by passing className="justify-center" explicitly.

Changes:

  • Drop flex-1 justify-center from the base wrapper classes in TransactionDetailsContent.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link
Copy Markdown
Contributor

iOS Simulator preview build is ready: https://github.com/stellar/freighter-mobile/releases/tag/untagged-5e5d1e75338833c52018 (SDF collaborators only — install instructions in the release description)

@leofelix077 leofelix077 removed the don't review yet Work in Progress / Draft PR / Code Review adjustments being worked on label May 29, 2026
@leofelix077 leofelix077 requested review from CassioMG and piyalbasu May 29, 2026 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

History - Messy history details on the first render

2 participants